package com.tem.payment.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 缓存到mongoDB
 * </p>
 *
 * @author 鸿源塔基
 * @since 2023-10-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pay_job")
@ApiModel(value="PayJob对象", description="缓存到mongoDB")
public class PayJob implements Serializable {

    private static final long serialVersionUID=35890232431L;

    @ApiModelProperty(value = "支付成功作业调度持久化")
    @TableId(value = "pay_job_id", type = IdType.AUTO)
    private Long payJobId;

    @ApiModelProperty(value = "类型")
    @TableField("pay_type")
    private Integer payType;

    @ApiModelProperty(value = "关联对象")
    @TableField("pay_type_refid")
    private Long payTypeRefid;

    @ApiModelProperty(value = "分店")
    @TableField("sys_branch_office_id")
    private Long sysBranchOfficeId;

    @ApiModelProperty(value = "状态 0失效  1待处理 2处理中  3处理失败 9已处理完成")
    @TableField("status")
    private Integer status;


}
